<template>
  <div>
    <index-header />
    <index-swiper />
    <index-icon :arrays="arrays" />
    <index-fire />
    <index-health />
    <index-record />
    <index-consult />
  </div>
</template>

<script>
import IndexHeader from './components/IndexHeader'
import IndexSwiper from './components/IndexSwiper'
import IndexIcon from './components/IndexIcon'
import IndexFire from './components/IndexFireList'
import IndexHealth from './components/IndexHealthList'
import IndexRecord from './components/IndexRecordList'
import IndexConsult from './components/indexConsult'
export default {
  name: 'index',
  components: {
    IndexHeader,
    IndexSwiper,
    IndexIcon,
    IndexFire,
    IndexHealth,
    IndexRecord,
    IndexConsult
    // GetToken
  },
  data () {
    return {
      arrays: []
    }
  },
  methods: {
    // getAxios () {
    //   axios.post('http://www.hengju.online/classroom/popular?t=' + this.t + '&r=' + this.r + '&z=' + this.z)
    //     .then(this.getHomeInfoSucc)
    // },
    // getHomeInfoSucc (res) {
    //   res = res.data
    //   // console.log(res)
    //   if (res.code === '200') {
    //     let data = res.data[0]
    //     this.arrays = data
    //   }
    // }
  },
  mounted () {
  }
}
</script>

<style lang="stylus">
// @import '~@/assets/styles/maxins.styl'
//   .mescroll
//     mescroll()
</style>
